package com.chapter5.javaB;

public class Person {
    private String name = "SimpleLee";
    private String sex = "女";
    private int age = 18;
    private boolean married = true;
    public Person(){
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getSex(){
        return sex;
    }
    public void setSex(String sex){
        this.sex =sex;
    }
    public int getAge(){
        return age;
    }
    public void setAge(int age){
        this.age = age;
    }
    public boolean isMarried(){
        return married;
    }
    public void setMarried(boolean married){
        this.married = married;
    }
}

